package top.zhimingw.service;

import top.zhimingw.pojo.Admin;

/**
 * @InterfaceName AdminService
 * @Description (Admin)表服务接口
 * @Author:zhimingw
 * @Version 1.0
 * @since 2021/5/30 20:58
 */
public interface AdminService {
    /**
    * @Description: 查询单条数据
    * @Param: [id]
    * @return: top.zhimingw.pojo.Admin
    * @Author: zhimingw
    * @Date: 2021/5/30
    */
    Admin queryById(Integer id);


    /**
    * @Description: 修改数据，哪个属性不为空就修改哪个属性
    * @Param: [admin]
    * @return: boolean
    * @Author: zhimingw
    * @Date: 2021/5/30
    */
    boolean update(Admin admin);


}